function EmitterManager () {
	var emitters = [];
	var blueDotImage = g_graphicEngine.LoadImage("Data/ActionPhase/Particle/BlueDot.png");
	
	this.AddEmitter = function (type, x, y, lifeTime) {
		if (type == 1) {
			var tempParticle = new Particle (g_context);
			tempParticle.m_sourceRectArray[0] = new SourceRect (blueDotImage, 0, 0, 64, 64);
			tempParticle.m_gravity = 0.0003;
			tempParticle.m_resistant = 0.00005;
			tempParticle.m_w = 30;
			tempParticle.m_h = 30;
			tempParticle.m_lifeTime = 700;
			tempParticle.m_drawAdd = false;
			tempParticle.m_alpha = 1.5;
			tempParticle.m_fadeSpeed = -0.002;
			
			var tempEmitter = new Emitter (tempParticle);
			tempEmitter.m_x = x;
			tempEmitter.m_y = y;
			tempEmitter.m_lifeTime = lifeTime;
			tempEmitter.m_emitRate = 0.02;
			tempEmitter.m_emitForceMin = 0.05;
			tempEmitter.m_emitForceMax = 0.08;
			tempEmitter.m_emitAngleStart = 0;
			tempEmitter.m_emitAngleEnd = 180;
			tempEmitter.Start();
		}
		
		
		emitters.push (tempEmitter);
	}
	
	this.Update = function () {
		for (var i=0; i<emitters.length; i++) {
			if (emitters.m_start == false) {
				emitters.splice (i, 1);
			}
			else {
				emitters[i].Update();
			}
		}
	}
}